package com.ziroom.zifamily.zfms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
 * <p>
 * <PRE>
 * <BR>    修改记录
 * <BR>-----------------------------------------------
 * <BR>    修改日期 2018-11-28        修改人 xgh         修改内容 新增部分请求方法
 * </PRE>
 * //启用断路由
 * // @EnableCircuitBreaker
 * @author xgh
 * @version 1.0
 * @Date Created in 2018年11月19日 18:16
 * @since 1.0
 */
@SpringBootApplication
@ServletComponentScan
@EnableScheduling
@EnableAsync
@EnableCaching
@EnableTransactionManagement
@MapperScan("com.ziroom.family.zfms.mapper")
public class Application {

    /**
     * 启动方法
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
